package com.yjian.common;

import java.util.Date;
import java.util.Random;

/**
 * Created by xuxiaobao on 2017/9/27.
 */
public class StringUtils {
    public static String randomKey(){
        StringBuilder sb = new StringBuilder();
        Random random = new Random();
        sb.append(DateUtil.dateToString(new Date(), "yyyyMMddHHmmssSSS")).append(random.nextInt(1000));
        return sb.toString();
    }
}
